<template>
  <div>
    <button @click="show = !show">button</button>
    <transition name="fade">
      <p v-if="show">111</p>
    </transition>
  </div>
</template>
<script>
  export default {
    data () {
      return {
        show: true
      }
    }
  }
</script>
